package com.ruoyi.food.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.food.api.model.FoodDiscountVo;
import com.ruoyi.food.domain.Food;

import java.util.List;
import java.util.Map;


/**
 * 食品服务
 *
 * @author Administrator
 * @date 2023/03/14
 */
public interface FoodService extends IService<Food> {

    /**
     * 食物细节通过id列表
     *
     * @param foodIdList 食物id列表
     * @return {@link List}<{@link FoodDiscountVo}>
     */
    List<FoodDiscountVo> listFoodDetailByFoodIds(List<Long> foodIdList);

    /**
     * 菜品
     *
     * @return {@link Map}<{@link String}, {@link List}<{@link Food}>>
     */
    Map<String, List<Food>> listFood();
}

